package fun.easycode.webterminal.service.cmd;

import fun.easycode.webterminal.common.contract.IValidate;
import fun.easycode.webterminal.dao.TransformType;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class ProxyTransformSaveCmd implements IValidate {
    private String id;
    @NotEmpty
    private String name;
    @NotNull
    private TransformType type;
    @NotNull
    private Integer port;
    @NotEmpty
    private String socketIp;
    @NotNull
    private Integer socketPort;
}
